package com.spring.aop;

public class OriginalBean {

    private String name;

    public void setName(String name) {
        this.name = name;
    }

    public String doPrint() {
        String result = "my name is:" + name;
        System.out.println(result);
        return result;
    }

    public int doPlug(int num) {
        return num + 1;
    }

}
